package constants

import "gozero-demo/internal/types"

var SubjectDataJson = `
[
  {
    "subject_number": "10",
    "subject_title": "第一大题json",
    "children": [
      {
        "subject_number": "1001",
        "subject_title": "第一大题的第一小题"
      },
      {
        "subject_number": "1002",
        "subject_title": "第一大题的第二小题"
      }
    ]
  },
  {
    "subject_number": "20",
    "subject_title": "第二大题json",
    "children": [
      {
        "subject_number": "2001",
        "subject_title": "第二大题的第一小题"
      },
      {
        "subject_number": "2002",
        "subject_title": "第二大题的第二小题"
      },
      {
        "subject_number": "2003",
        "subject_title": "第二大题的第三小题"
      }
    ]
  },
  {
    "subject_number": "30",
    "subject_title": "第三大题json",
    "children": [
      {
        "subject_number": "3001",
        "subject_title": "第三大题的第一小题"
      },
      {
        "subject_number": "3002",
        "subject_title": "第三大题的第二小题"
      }
    ]
  }
]
`

var SubjectDataStruct = []types.SubjectData{
	{
		SubjectNumber: "10",
		SubjectTitle:  "第一大题struct",
		Children: []types.SubjectData{
			{
				SubjectNumber: "1001",
				SubjectTitle:  "第一大题的第一小题",
			},
			{
				SubjectNumber: "1002",
				SubjectTitle:  "第一大题的第二小题",
			},
		},
	},
	{
		SubjectNumber: "20",
		SubjectTitle:  "第二大题struct",
		Children: []types.SubjectData{
			{
				SubjectNumber: "2001",
				SubjectTitle:  "第二大题的第一小题",
			},
			{
				SubjectNumber: "2002",
				SubjectTitle:  "第二大题的第二小题",
			},
			{
				SubjectNumber: "2003",
				SubjectTitle:  "第二大题的第三小题",
			},
		},
	},
	{
		SubjectNumber: "30",
		SubjectTitle:  "第三大题struct",
		Children: []types.SubjectData{
			{
				SubjectNumber: "3001",
				SubjectTitle:  "第三大题的第一小题",
			},
			{
				SubjectNumber: "3002",
				SubjectTitle:  "第三大题的第二小题",
			},
		},
	},
}
